﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AG.Editor.Core
{
    /// <summary>
    /// 对材质字体的引用
    /// </summary>
    public class AGTextureFontRef
    {
        public Guid TextureFontUniqueId { get; set; }
        public string Caption { get; set; }

        public AGTextureFontRef()
        {
        }

        public AGTextureFontRef(AGTextureFont font)
        {
            TextureFontUniqueId = font.UniqueId;
            Caption = font.Caption;
        }

        public override string ToString()
        {
            return Caption;
        }
    }
}
